package com.guiji.quartz.task;

import com.guiji.quartz.domain.NingboXinwen;
import com.guiji.quartz.domain.WenzhouXinwen;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @program: cms-vue-plus
 * @description:
 * @author: gaoX
 * @create: 2021-10-22 16:43
 **/
@Component("ningboXinwenTask")
public class NingboXinwenTask {
	private static final Logger log = LoggerFactory.getLogger(NingboXinwenTask.class);
	public void ningboXinwenTask() throws Exception {
		Long startTime = System.currentTimeMillis();
		NingboXinwen ningboXinwen= new NingboXinwen();
		try {
			ningboXinwen.mainMethod();
		} catch (Exception e) {
		}finally {
			log.info("NingboXinwenTask-end-:{}",System.currentTimeMillis()-startTime);
		}

	}
}
